<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">


	function abc (score) {
		if(score<60){
			return "不及格";
		}else if(score>=60 && score<80 ){
			return "中等";
		}else if(score>=80 && score<=100){
			return "优秀";
		}else{
			return "输入错误";
		}
	}

	// res = abc(90);

	// document.write(res);
	// 
	// 
	function getSum (num) {

		var cn=0;

		for (var i = 1; i <= num; i++) {
			cn = cn+i;
		};

		return cn;
	}


	res = getSum(5);
	document.write(res);



	for (var i =1; i <= 100; i++) {
		
	};


	function abc (name) {
		return 10;
	}

	abc("学并思");


	</script>
</head>
<body>
	
</body>
</html>